home *** CD-ROM | disk | FTP | other *** search
/ Windows 32-Bit Gallery / Windows 32-bit Gallery.iso / win95 / wintun95 / appsanlz.txt < prev    next >
Text File  |  1996-11-20  |  3KB  |  73 lines

  1. 08/30/95
  2. INFORMATION ON THE WINTUNE APPS ANALYZER
  3.  
  4. This is an advanced topic. You don't need to read or
  5. understand this to use Wintune95 effectively.
  6.  
  7. =================
  8. APPS SUBDIRECTORY
  9. =================
  10. If you create an APPS subdirectory under the directory
  11. where you put the Wintune95 files (e.g., C:\WT95\APPS)
  12. the Apps analyzer will run the files it finds in that
  13. subdirectory. This can be an EXE file, a BAT file, or
  14. a data file. If you put a data file there, it will run
  15. the associated application and pass it the file name.
  16. (For repeatable results, of course, whatever you run
  17. shouldn't require any user input.)
  18.  
  19. NOTE: Wintune won't process shortcuts correctly in this
  20. beta.  Copy the actual file to the APPS directory.
  21.  
  22. ===============
  23. FILE PROCESSING
  24. ===============
  25. To make operation with certain applications easier,
  26. Wintune has the ability to ignore or clean up certain
  27. files.  Here's what happens to different files when
  28. Wintune initializes and searches the APPS directory:
  29.  
  30.   *.BAK        Deleted
  31.   *.TMP        Deleted
  32.   "Backup of *"    Deleted (this is a long file name)
  33.   ~*.*        Deleted (file name begins with "~")
  34.   !*.*        Not run (file name begins with "!")
  35.   Any other file will be run by Wintune
  36.  
  37. Backup files are deleted because some applications
  38. prompt you to overwrite or recover them, which would
  39. cause the application timing to be incorrect.
  40.  
  41. ====================
  42. RETURNING PARAMETERS
  43. ====================
  44. Wintune has a technique for the application to pass 
  45. parameters back that will be incorporated into the
  46. database. To use it, the application should place
  47. text on the clipboard. The first line should always
  48. be the text "!WINTUNE!". The following lines should
  49. be a list of "Name=Value" pairs. Here's an example:
  50.  
  51.     !WINTUNE!
  52.     Bitmap name=CLOWN.TIF
  53.     Draw bitmap=33 s
  54.     Overall macro time=47 s
  55.  
  56. The Excel macro uses this technique, you can see
  57. how it's done by opening the macro.  Start Excel,
  58. then click File/Open and select WTXL95.XLM. Hold
  59. the Shift key down as you click Open to keep the
  60. macro from executing.  The clipboard select and
  61. copy is at the very bottom of the macro.
  62.  
  63. SAMPLE FILE
  64. ===========
  65. I've included an Excel macro as an example of how to
  66. use Apps. Create the APPS subdirectory and copy
  67. WTXL95.XLS there. Next time you run Wintune it will
  68. run the macro and report the time. To stop running
  69. the macro as part of the tests, move it from the
  70. subdirectory. (A future beta will let you turn
  71. specific tests on or off through the Details window.)
  72.  
  73. ---- END ---